package com.qf.entity;

import java.util.List;

public class HuanKuan {

    /*
        需要还款金额
     */
    private double repayment;
    /*
        二类卡
     */
    private List<Card1> c1;
    /*
        一类卡
     */
    private List<Card2> c2;
    /*
        最少还款金额
     */
    private double leastAmount;

    public HuanKuan() {
    }

    public HuanKuan(double repayment, List<Card1> c1, List<Card2> c2, double leastAmount) {
        this.repayment = repayment;
        this.c1 = c1;
        this.c2 = c2;
        this.leastAmount = leastAmount;
    }

    public double getRepayment() {
        return repayment;
    }

    public void setRepayment(double amount) {
        this.repayment = repayment;
    }

    public List<Card1> getC1() {
        return c1;
    }

    public void setC1(List<Card1> c1) {
        this.c1 = c1;
    }

    public List<Card2> getC2() {
        return c2;
    }

    public void setC2(List<Card2> c2) {
        this.c2 = c2;
    }

    public double getLeastAmount() {
        return leastAmount;
    }

    public void setLeastAmount(double leastAmount) {
        this.leastAmount = leastAmount;
    }

    @Override
    public String toString() {
        return "HuanKuan{" +
                "repayment=" + repayment +
                ", c1=" + c1 +
                ", c2=" + c2 +
                ", leastAmount=" + leastAmount +
                '}';
    }
}
